package L7_0317;

public class MaleCheck implements Check{
    @Override
    public boolean test(Person p) {
        if (p.getGender().equals("male")) return true;
        return false;
    }
}
